import matplotlib.pyplot as plt
import numpy as np
import 画图

plt.figure(figsize=(10, 10))
r = 50
angle = [0, 1.06]
t = np.linspace(angle[0], angle[1], 100)
w = 1
x = r * (np.cos(w * t + 1.082) + w * t * np.sin(w * t + 1.082))
x = x - x[0]
y = r * (np.sin(w * t + 1.082) - w * t * np.cos(w * t + 1.082))
y = y - y[0]
n = 0
while n <= 99:
    画图.Circle(0.2, (x[n], y[n]))
    n += 1
    pass
plt.plot(x + 0.2, y)
plt.xlim(-25, 5)
plt.ylim(0, 30)
